<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstRTSPContext: GStreamer RTSP Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer RTSP Server Reference Manual">
<link rel="up" href="ch01.html" title="">
<link rel="prev" href="GstRTSPClient.html" title="GstRTSPClient">
<link rel="next" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GstRTSPContext.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GstRTSPContext.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstRTSPClient.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GstRTSPMountPoints.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GstRTSPContext"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GstRTSPContext.top_of_page"></a>GstRTSPContext</span></h2>
<p>GstRTSPContext — A client request context</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GstRTSPContext.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="returnvalue">GstRTSPContext</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPContext.html#gst-rtsp-context-get-current" title="gst_rtsp_context_get_current ()">gst_rtsp_context_get_current</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPContext.html#gst-rtsp-context-push-current" title="gst_rtsp_context_push_current ()">gst_rtsp_context_push_current</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPContext.html#gst-rtsp-context-pop-current" title="gst_rtsp_context_pop_current ()">gst_rtsp_context_pop_current</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPContext.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GstRTSPContext.html#GstRTSPContext-struct" title="struct GstRTSPContext">GstRTSPContext</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer">gpointer</a>
    <span class="lineart">╰──</span> GstRTSPContext
</pre>
</div>
<div class="refsect1">
<a name="GstRTSPContext.description"></a><h2>Description</h2>
<p>Last reviewed on 2013-07-11 (1.0.0)</p>
</div>
<div class="refsect1">
<a name="GstRTSPContext.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-rtsp-context-get-current"></a><h3>gst_rtsp_context_get_current ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="returnvalue">GstRTSPContext</span></a> *
gst_rtsp_context_get_current (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Get the current <a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a>. This object is retrieved from the
current thread that is handling the request for a client.</p>
<div class="refsect3">
<a name="gst-rtsp-context-get-current.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-context-push-current"></a><h3>gst_rtsp_context_push_current ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_context_push_current (<em class="parameter"><code><a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a> *ctx</code></em>);</pre>
<p>Pushes <em class="parameter"><code>ctx</code></em>
 onto the context stack. The current
context can then be received using <a class="link" href="GstRTSPContext.html#gst-rtsp-context-get-current" title="gst_rtsp_context_get_current ()"><code class="function">gst_rtsp_context_get_current()</code></a>.</p>
<div class="refsect3">
<a name="gst-rtsp-context-push-current.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>ctx</p></td>
<td class="parameter_description"><p>a #<a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-context-pop-current"></a><h3>gst_rtsp_context_pop_current ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_context_pop_current (<em class="parameter"><code><a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a> *ctx</code></em>);</pre>
<p>Pops <em class="parameter"><code>ctx</code></em>
 off the context stack (verifying that <em class="parameter"><code>ctx</code></em>

is on the top of the stack).</p>
<div class="refsect3">
<a name="gst-rtsp-context-pop-current.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>ctx</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPContext.html" title="GstRTSPContext"><span class="type">GstRTSPContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPContext.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstRTSPContext-struct"></a><h3>struct GstRTSPContext</h3>
<pre class="programlisting">struct GstRTSPContext;</pre>
<p>Information passed around containing the context of a request.</p>
<div class="refsect3">
<a name="GstRTSPContext.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPContext.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GstRTSPServer.html" title="GstRTSPServer"><span class="type">GstRTSPServer</span></a>, <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>